package com.example.fw;

import org.netbeans.jemmy.operators.JMenuBarOperator;
import org.netbeans.jemmy.operators.JTreeOperator;

public class MenuHelper extends HelpersBase {

	public MenuHelper(ApplicationManager applicationManager) {
		super (applicationManager);
	}

	public void pushCreateFolder() {
		
		JMenuBarOperator menu = new JMenuBarOperator(mainFrame); 
		menu.pushMenuNoBlock("File|New folder...");
	}
	
	 public void pushDeleteFolder() {
	        JTreeOperator tree = new JTreeOperator(mainFrame);
	        tree.selectRow(tree.getMinSelectionRow());

	        JMenuBarOperator menu = new JMenuBarOperator(mainFrame);
	        menu.pushMenuNoBlock("Delete");
	    }


}
